package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.common.ServerResponse;
import com.mmall.pojo.Article;

public interface IArticleService {
    ServerResponse<PageInfo> list(Integer userId, int pageNum, int pageSize);
    ServerResponse<String> updateSave(Integer userId,String userName, Article article);
    ServerResponse<String> delete(Integer userId, Integer articleId);
    ServerResponse<Article> detail(Integer userId, Integer articleId);
}
